home *** CD-ROM | disk | FTP | other *** search
- #!/usr/local/bin/perl
- #--------------------------------- Logger.pl ----------------------------------
- #
- # Perl script which supports:
- # Logfile rotation up to a maximum number of days to be kept....
- # A "guestbook" which tracks sites which hit on you, and how many times
- # they've hit things.
- # A primitive usage database which shows _what's_ getting hit
- # A mailed report of "newbies" sent to the system administrator (ie.
- # new sites which have hit you since the last report).
- #
- # Making it work:
- # Change the parms below to something you find aesthetically pleasing.
- # Put it up as a cron job to be run once per day.
- #
- # General disclaimer of competence:
- # I'm new at this (and I bet it shows), so send suggestions for
- # improvements to: tom@law.mail.cornell.edu
- #
- # "A Perl script is correct if it's halfway readable and gets
- # the job done before your boss fires you"
- # -- Larry Wall
- #
- #----------------------------------------------------------------------------
-